package com.punai.standard.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 标准费用项特征描述设置耗量对象 sta_gx_feature_consume
 *
 * @author zhx
 * @date 2023-05-15
 */
@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(20)
public class StaGxFeatureConsume extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ExcelProperty("ID")
        private String id;

    /** 版本id */
    @ExcelIgnore
        private String versionId;

    /** 专业id */
            @ExcelProperty("专业id")
        private String specId;

    /** 标准费用项id */
            @ExcelProperty("标准费用项id")
        private String gxId;

            @ExcelProperty("地区")
        private String address;

    /** 特征名称 */
            @ExcelProperty("特征名称")
        private String featureItem;

    /** 序号 */
            @ExcelProperty("序号")
        private Long orderNum;

    /** 部门id */
    @ExcelIgnore
        @TableField(fill = FieldFill.INSERT)
        private Long deptId;

    /** 用户id */
    @ExcelIgnore
        @TableField(fill = FieldFill.INSERT)
        private Long userId;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setVersionId(String versionId)
            {
            this.versionId = versionId;
            }

    public String getVersionId()
            {
            return versionId;
            }
    public void setSpecId(String specId)
            {
            this.specId = specId;
            }

    public String getSpecId()
            {
            return specId;
            }
    public void setGxId(String gxId)
            {
            this.gxId = gxId;
            }

    public String getGxId()
            {
            return gxId;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public void setFeatureItem(String featureItem)
            {
            this.featureItem = featureItem;
            }

    public String getFeatureItem()
            {
            return featureItem;
            }
    public void setOrderNum(Long orderNum)
            {
            this.orderNum = orderNum;
            }

    public Long getOrderNum()
            {
            return orderNum;
            }
    public void setDeptId(Long deptId)
            {
            this.deptId = deptId;
            }

    public Long getDeptId()
            {
            return deptId;
            }
    public void setUserId(Long userId)
            {
            this.userId = userId;
            }

    public Long getUserId()
            {
            return userId;
            }

@Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("versionId", getVersionId())
            .append("specId", getSpecId())
            .append("gxId", getGxId())
            .append("featureItem", getFeatureItem())
            .append("orderNum", getOrderNum())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
        .toString();
        }
        }
